﻿using System.Configuration;

namespace CodePlex.TfsPluginSuite.Configuration
{
    public class TfsPluginSuiteConfigurationSection : ConfigurationSection
    {

        [ConfigurationProperty("ForbiddenPatternsPolicy")]
        public ForbiddenPatternConfigurationElementCollection ForbiddenPatternsPolicy
        {
            get
            {
                return (ForbiddenPatternConfigurationElementCollection)this["ForbiddenPatternsPolicy"];
            }
        }

        [ConfigurationProperty("WorkItemAssociationPolicy")]
        public WorkItemAssociationConfigurationElement WorkItemAssociationPolicy
        {
            get
            {
                return (WorkItemAssociationConfigurationElement)this["WorkItemAssociationPolicy"];
            }
        }

        [ConfigurationProperty("PatternBypassOverride")]
        public PatternBypassOverrideConfigElementCollection PatternBypassOverride
        {
            get
            {
                return (PatternBypassOverrideConfigElementCollection)this["PatternBypassOverride"];
            }
        }

        [ConfigurationProperty("AccountOverride")]
        public AccountOverrideConfigElementCollection AccountOverride
        {
            get
            {
                return (AccountOverrideConfigElementCollection)this["AccountOverride"];
            }
        }

        [ConfigurationProperty("ChangeTypePolicy")]
        public ChangeTypeConfigurationElementCollection ChangeTypePolicy
        {
            get
            {
                return (ChangeTypeConfigurationElementCollection)this["ChangeTypePolicy"];
            }
        }

        [ConfigurationProperty("BranchMergeCheckInPolicy")]
        public BranchMergeConfigurationElement BranchMergePolicy
        {
            get
            {
                return (BranchMergeConfigurationElement)this["BranchMergeCheckInPolicy"];
            }
        }
    }
}


